@extends('admin.layouts.application')

@section('title')
    <title>添加url</title>
@stop

@section('content')
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>添加url</h5>
                </div>
                <div class="ibox-content">
                    @include('admin.layouts.msg')
                    <form class="form-horizontal m-t" action="{{route('admin.url.store')}}"
                          method="post">
                        {{csrf_field()}}
                        <div class="form-group">
                            <label class="col-sm-3 control-label">URLS：</label>
                            <div class="col-sm-2">
                                <textarea name="urls" id="" cols="30" rows="10"></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">模式：</label>
                            <div class="col-sm-3">
                                <span>
                                <span>定点抓取</span>
                                <input value="1" checked style="margin-left: 10px;" name="type" type="radio">
                                </span>
                                <span style="margin-left: 15px;">
                                <span>长期抓取</span>
                                <input value="10" style="margin-left: 10px;" name="type" type="radio">
                                    </span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">长期抓取条数：</label>
                            <div class="col-sm-2">
                                <input type="number" name="num" min="1">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button class="btn btn-primary" type="submit">
                                    提交
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
@endsection
